

package com.hazelcast.client.impl.spi.impl;

import com.hazelcast.client.impl.protocol.ClientMessage;

import java.util.UUID;

public interface ListenerMessageCodec {

    ClientMessage encodeAddRequest(boolean localOnly);

    UUID decodeAddResponse(ClientMessage clientMessage);

    ClientMessage encodeRemoveRequest(UUID realRegistrationId);

    boolean decodeRemoveResponse(ClientMessage clientMessage);
}
